package com.vcredit.creditcat.persistence.base;
import com.vcredit.creditcat.model.CustCatfoodLog;
import com.vcredit.framework.pagination.DefaultCriteria;

import java.util.List;

import org.apache.ibatis.annotations.Param;
public interface CustCatfoodLogMapper{
	void insert(CustCatfoodLog obj);
	void update(CustCatfoodLog obj);
	List<CustCatfoodLog> findAll();
	List<CustCatfoodLog> find(CustCatfoodLog obj);
	CustCatfoodLog findById(Long id);
	List<CustCatfoodLog> findByPage(DefaultCriteria criteria);
	List<CustCatfoodLog> findByCustIdOrderBy(Long custId);
	Long findByParamToday(@Param("custId")Long custId, @Param("catfoodTypeId")long catfoodTypeId);
}
